package com.mixue.vertify;

import org.springframework.context.annotation.Configuration;

import java.util.Random;

@Configuration
public class PhoneCode {
    public static int getCode(){
        return (int) ((Math.random() * 9 + 1) * 100000);
    }
}
